package cn.gov.pbc.address.dao;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gov.pbc.address.pojo.Address;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);
    
    int deleteAll();
    
    int insertBatch(@Param("addressList")List<Address> addressList);
    
    List<Address> selectAll();
}